class MyThread extends Thread {
	
	@Override
	public void run() {
		System.out.println("hello thread");
	}
}

public static void main(String[] args) {
	Thread t = new MyThread();
	t.start();
	
}


class MyThread3 implements Runnable {
	@Override
	public void run() {
		sout."hello Runnable"
	}
}
public static void main(String[] args) {
	Runnable run = new MyThread3();
	Thread t = new Thread(run);
	t.start();
}
